<table class="formTable">
<tbody>
{if $operation == '更新'}
	<tr>
		<th>登録日時</th>
		<td>{$forms.r_date}<input type="hidden" name="forms[r_date]" value="{$forms.r_date}" /></td>
	</tr>
	<tr>
		<th>更新日時</th>
		<td>{$forms.u_date}<input type="hidden" name="forms[u_date]" value="{$forms.u_date}" /></td>
	</tr>
	<tr>
		<th>ID</th>
		<td>{'%06d'|sprintf:$id}</td>
	</td>
	</tr>
{/if}
<tr>
	<th class="must">メールアドレス</th>
	<td>
		{assign var=key value='email'}
		<input type="text" name="forms[{$key}]" id="text_{$key}" class="text" value="{$forms[$key]}" />
		{if isset($err[$key])}{$validate->getMessages($err[$key]) nofilter}{/if}
	</td>
</tr>
<tr>
	<th class="must">パスワード</th>
	<td>
		{assign var=key value='login_pass'}
		<input type="text" name="forms[{$key}]" id="text_{$key}" class="float-left" value="{$forms[$key]}" />
		<span class="btn_blank float-left"><a class="generate" href="javascript:;">自動入力</a></span>
		{if isset($err[$key])}{$validate->getMessages($err[$key]) nofilter}{/if}
	</td>
</tr>
<tr>
	<th class="must">スタッフ名</th>
	<td>
		{assign var=key value='staff_name'}
		<input type="text" name="forms[{$key}]" id="text_{$key}" class="text" value="{$forms[$key]}" />
		{if isset($err[$key])}{$validate->getMessages($err[$key]) nofilter}{/if}
	</td>
</tr>
<tr>
	<th>画像</th>
	<td>
		<div id="logo">
		{if isset($forms.image_file)}
			{image_uploader name='forms[image_file][]' value=$forms.image_file}
		{else}
			{image_uploader name='forms[image_file][]'}
		{/if}
		<a href="javascript:;" class="btnDel">削除 </a>
	</div>
	</td>
</tr>
<tr>
	<th>状態</th>
	<td>
		<label><input type="checkbox" name="forms[actived]" value="0" {if $forms.actived != 1 && $forms.actived != ''}checked{/if}/>ログイン不可</label>　
		<label><input type="checkbox" name="forms[admin_flg]" value="1" {if $forms.admin_flg == 1}checked{/if} />管理者</label>
	</td>
</tr>
</tbody>
</table>